import mongoose from 'mongoose'
//schema就是数据库对象的集合
const Schema = mongoose.Schema

const CitySchema = new Schema({
    id: {
        type: String,
        //必须填的
        require: true
    },
    value: {
        type: Array,
        require: true
    }
})



export default mongoose.model('City',CitySchema)